package com.ys.modules.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

@Data
@TableName("tg_user_xcoin_record")
@ApiModel("用户获取XCoin记录表")
public class TgUserXcoinRecord {
    @ApiModelProperty(value = "记录ID，主键")
    @TableId(type = IdType.AUTO)
    private Long recordId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "获得的XCoin数量")
    private java.math.BigDecimal xcoin;

    @ApiModelProperty(value = "类型：1手动挖矿，2每小时矿机产生XCoin，3抽奖")
    private Integer type;

    @ApiModelProperty(value = "获取时间")
    private Date createTime;
} 